package main

import (
	"fmt"
	"sort"
)

func main() {
	var is = []int{1, 4, 3, 2, 5}
	sort.Slice(is, func(i, j int) bool {
		left := is[i]
		right := is[j]
		return left > right
	})
	fmt.Print(is)

	fmt.Print(is[0:2])
}
